//
//  AddressBook.m
//  通讯录
//
//  Created by dllo on 16/6/21.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "AddressBook.h"

@implementation AddressBook

-(instancetype)init
{
    self = [super init];
    
    if (self) {
        self.dicOfContact = [NSMutableDictionary dictionary];
    }
    return self;
}

-(NSArray<NSString *> *)getNameGroup
{
    return [self.dicOfContact.allKeys sortedArrayUsingSelector:@selector(compare:)];
}

@end
